

#include "byte_util.h"

unsigned char ByteSwap(unsigned char BytetoSwap){
  unsigned char i,temp=0;
  for (i=0;i<8;i++){
    temp|=((BytetoSwap>>(7-i))<<i)&(0x01<<i);
  }
  return temp;
}




